<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html><head>
<title>func</title>
</head><body>
<p>[<a href="mxdoc.htm">mainpage</a>]
[<a href="tags.htm">tags</a>]<br>
<h1>tag: func</h1><ul><li>
<a name=" define mx_atom(a,d,s)"><code># define mx_atom(a,d,s)</code></a>
<p>
<p><b>Construct an MX_ATOM</b><p>
This macro constructs a MX_ATOM which is a base object for reference counting.  
(<a href="../include/deds/atom.h">../include/deds/atom.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_atom.htm">atom</a>)
<p></li>
<li>
<a name=" define mx_delete(a)"><code># define mx_delete(a)</code></a>
<p>
<p><b>Destroy an MX_ATOM</b><p>
This macro causes an object to be marked for destruction.  If no locks (MX_LOCK)
or references (MX_REF) exist for this object then the object is destroyed and
if appropitae the memory is released.  
(<a href="../include/deds/atom.h">../include/deds/atom.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_atom.htm">atom</a>)
<p></li>
<li>
<a name=" define mx_locked(a)"><code># define mx_locked(a)</code></a>
<p>
<p><b>Find out if an object is locked or not  </b><p>
(<a href="../include/deds/atom.h">../include/deds/atom.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_atom.htm">atom</a>)
<p></li>
<li>
<a name=" define mx_lock(l,a)"><code># define mx_lock(l,a)</code></a>
<p>
<p><b>Construct a MX_LOCK</b><p>
This macro creates a lock for an object derived from MX_ATOM.  The locked 
MX_ATOM is guaranteed not to be deleted while a valid lock exists.  
(<a href="../include/deds/atom.h">../include/deds/atom.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_atom.htm">atom</a>)
<p></li>
<li>
<a name="unsigned mx_lastlock(const MX_LOCK* lock)"><code>unsigned mx_lastlock(const MX_LOCK* lock)</code></a>
<p>
<p><b>Find out if a lock is the last one of an object  </b><p>
(<a href="../include/deds/atom.h">../include/deds/atom.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_atom.htm">atom</a>)
<p></li>
<li>
<a name=" define mx_ref(r,t)"><code># define mx_ref(r,t)</code></a>
<p>
<p><b>Construct a MX_REF</b><p>
The macro constructs a MX_REF to an object.  
(<a href="../include/deds/atom.h">../include/deds/atom.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_atom.htm">atom</a>)
<p></li>
<li>
<a name=" define mx_unref(r)"><code># define mx_unref(r)</code></a>
<p>
<p><b>Destruct a MX_REF</b><p>
The macro destroys a MX_REF to an object.  The object may
be deleted in the dereference, see the mx_unlock() macro.  
(<a href="../include/deds/atom.h">../include/deds/atom.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_atom.htm">atom</a>)
<p></li>
<li>
<a name=" define mx_rectatom(r,d,s)"><code># define mx_rectatom(r,d,s)</code></a>
<p>
<p><b>Construct a MX_RECTATOM  </b><p>
(<a href="../include/deds/rectatom.h">../include/deds/rectatom.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_rectatom.htm">rectatom</a>)
<p></li>
<li>
<a name="define mx_vector(mxvect)"><code>#define mx_vector(mxvect)</code></a>
<p>
<p><b>Construct a MX_VECTOR</b><p>
This macro constructs a MX_VECTOR object.  This must be called first
before any other mx_vector_* functions are called.
<p>MX_VECTOR is correctly initialized with a 0 bit pattern.  So static 
MX_VECTOR are correctly initialized and dont necessarily need a call to the 
constructor.  
(<a href="../include/deds/vector.h">../include/deds/vector.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_vector.htm">vector</a>)
<p></li>
<li>
<a name="define mx_vector_free(mxvect)"><code>#define mx_vector_free(mxvect)</code></a>
<p>
<p><b>Destruct a MX_VECTOR</b><p>
This macro destroys an MX_VECTOR object by releasing any memory
that has been allocated.  It should be the last call to any mx_vector_* 
functions.  Access of the MX_VECTOR object after destruction should not be done.  
(<a href="../include/deds/vector.h">../include/deds/vector.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_vector.htm">vector</a>)
<p></li>
<li>
<a name="define mx_vector_at(mxvect, mxn)"><code>#define mx_vector_at(mxvect, mxn)</code></a>
<p>
<p><b>Return an element from a MX_VECTOR at a specific index</b><p>
This macro returns elements from a MX_VECTOR at a specific index.
It is safer than accessing the underlying pointer because it wont allow
access outside the correct range for the vector.   
(<a href="../include/deds/vector.h">../include/deds/vector.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_vector.htm">vector</a>)
<p></li>
<li>
<a name="define mx_vector_back(mxvect)"><code>#define mx_vector_back(mxvect)</code></a>
<p>
<p><b>Return the last element from a MX_VECTOR</b><p>
This macro returns the last element from a MX_VECTOR.  
(<a href="../include/deds/vector.h">../include/deds/vector.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_vector.htm">vector</a>)
<p></li>
<li>
<a name="define mx_vector_begin(mxvect)"><code>#define mx_vector_begin(mxvect)</code></a>
<p>
<p><b>Pointer to first element</b><p>
This macro returns a pointer to the first data element in the MX_VECTOR object. 
If the MX_VECTOR contains no data elements then 0 is returned.  
(<a href="../include/deds/vector.h">../include/deds/vector.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_vector.htm">vector</a>)
<p></li>
<li>
<a name="define mx_vector_capacity(mxvect)"><code>#define mx_vector_capacity(mxvect)</code></a>
<p>
<p><b>Capacity</b><p>
This macro returns the capacity of an MX_VECTOR object.  This is the 
number of elements that the vector can contain without reqriring any internal
memory management.  
(<a href="../include/deds/vector.h">../include/deds/vector.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_vector.htm">vector</a>)
<p></li>
<li>
<a name="define mx_vector_clear(mxvect)"><code>#define mx_vector_clear(mxvect)</code></a>
<p>
<p><b>Clear</b><p>
This macro deletes all the objects from a MX_VECTOR  
(<a href="../include/deds/vector.h">../include/deds/vector.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_vector.htm">vector</a>)
<p></li>
<li>
<a name="define mx_vector_empty(mxvect)"><code>#define mx_vector_empty(mxvect)</code></a>
<p>
<p><b>Empty</b><p>
This macro deletes all the objects from a MX_VECTOR  
(<a href="../include/deds/vector.h">../include/deds/vector.h</a>)<br>(library <a href="deds.htm">deds</a> : module <a href="deds_vector.htm">vector</a>)
<p></li>
</ul><p>Generated by <a href="http://www.deleveld.dds.nl/mxdoc/index.htm">MXDOC</a> 2.2 on Sun Feb  4 15:16:26 2007


</body></html>
